package oa.dao;

import java.util.List;

import oa.bean.TSystem;
import oa.bean.TUser;
import oa.bean.User;

import org.apache.ibatis.annotations.Param;

public interface UserMapper {
	TUser login(@Param("username") String username);
	List<String> getQxcd(@Param("username") String username);
	TSystem getsystem();
	int updatesystem(TSystem sys);
	List<User> listuser();
	User getuser(@Param("uid") int uid);
	int adduser(User user);
	int updateuser(User user);
	int deluser(@Param("uid") int uid);
	int updateuserzt(@Param("uid") int uid, @Param("jinyong") int jinyong);
	int updateuserlogin(@Param("username") String username, @Param("lastlogin") String lastlogin);
	TUser getTuser(TUser tuser);
}
